﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace msBsc.WebUi.ShpMana
{
    public partial class wfShortMessage : msBsc.Cls.BPageHt
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        public void SenderMessage()
        {

            string mobile = this.GetParamHtValue("mobile");
            string strContent = this.GetParamHtValue("strContent");

            string msg = msBsc.AppLogic.DataAlc.cls.ShortMessage.SendShortMessage(mobile, strContent);

            this.ExecJScript("alert('" + msg + "')");
        }

        public override void DoAction()
        {
            if (this.strAction == "sender")
            {
                SenderMessage();
            }
        }
    }
}